import { createContext } from "react";
import { Scene, Camera, WebGLRenderer } from "three";

type ThreeContextType = {
    scene: Scene | null;
    camera: Camera | null;
    renderer: WebGLRenderer | null;
};

export const ThreeContext = createContext<ThreeContextType>({
    scene: null,
    camera: null,
    renderer: null,
});
